/*
 * Exercise_2_1_3.h
 *
 *  Created on: 10 déc. 2011
 *      Author: M. Alexandre (malexand314@gmail.com)
 */

#ifndef EXERCISE_2_1_3_H_
#define EXERCISE_2_1_3_H_

#include "../Exercise.h"

/**
 * \brief Exercise 2.1-3
 *        Implementation of the pseudo code asked for the exercise, and then writing of the loop invariant in a commentary block.
 */
class Exercise_2_1_3 : public Exercise
{
    public:
        Exercise_2_1_3();
        virtual ~Exercise_2_1_3();

    private:
        virtual void implementation();
};

#endif /* EXERCISE_2_1_3_H_ */
